<template>
  <ant-modal
    modalWidth="1400"
    modalHeight="850"
    :visible="open"
    :modal-title="formTitle"
    :adjust-size="false"
    @cancel="cancel"
  >
    <a-form-model
      ref="form"
      :model="form"
      :rules="rules"
      slot="content"
      layout="vertical"
    >
      <a-row :gutter="32">
        <a-col :span="24">
          <a-row :gutter="32">
            <a-col :span="24">
              <assess-details-list
                :assessInfo="form"
                ref="addDetailsList"
                v-if="open"
              />
            </a-col>
          </a-row>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer" v-if="form.status == 0">
      <a-button type="primary" @click="handleFaBu"> 确认发布 </a-button>
      <a-button @click="saveCaoGao"> 保存草稿 </a-button>
    </template>
    <template slot="footer" v-else>
      <a-button @click="closeAddDetails"> 关闭 </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizAssessInfoAddForm from "./BizAssessInfoForm";
export default {
  ...BizAssessInfoAddForm,
};
</script>
